package com.example.x6.configurationmaintenance.MyPreference;

import android.content.Context;
import android.preference.SwitchPreference;
import android.support.annotation.RequiresApi;
import android.util.AttributeSet;

public class MySwitchPreference extends SwitchPreference {
    private String ID = null;

    @RequiresApi(api = 21)
    public MySwitchPreference(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
        super(context, attrs, defStyleAttr, defStyleRes);
    }

    public MySwitchPreference(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    public MySwitchPreference(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public MySwitchPreference(Context context) {
        super(context);
    }

    public void setID(String ID2) {
        this.ID = ID2;
    }

    public String getID() {
        return this.ID;
    }
}
